Use GCC-compatible compiler flags when the compiler is not MSVC