Fix build with custom LOCALBASE
Submitted by: Sahil Tandon Reported by: QATty Approved by: portmgr (itetcu@)