[WIP] apply LD search path hack to FreeBSD also