Try to make it build under FreeBSD