fix build on MacOSX - clang does not understand GCC options