Fixes FreeBSD compilation when using Clang