Disable pragmas in non-MSVC builds.