whitelist: Fix compilation on FreeBSD