Make buildconf.sh work for FreeBSD