compile for FreeBSD