FreeBSD build fix