only pass the differing flags if clang is detected