Fix FreeBSD build with --strict-warnings