Fix building on FreeBSD versions <10

Key HAS_CHFLAGSAT off __FreeBSD_version__