Fix build on FreeBSD 4.11