Building script for FreeBSD