Fix strict-warnings build on FreeBSD