extend paths for FreeBSD support

FreeBSD is putting packaged software into /usr/local, so paths have to be extended for it to work.