Added better detection of non-gcc/clang compilers