Fixed FreeBSD build.