Fix macro check for non-GCC, non-Clang compilers