fixed Windows GCC issue; fixed Clang detection issue