TS-2784 Fix build for FreeBSD10
Turn off -Werror on RHEL5, sigh