fixed more silly building bugs in freebsd local build script