Fix build on 64-bit FreeBSD systems