This enables Windows-only primitives only if MSVC is detected. Otherwise, this lets MinGW take precedence.