Fix build on recent (10.0-RELEASE) FreeBSD.