Handle gcc-compatible compilers (such as clang) the same way we handle