Enable build on FreeBSD