Fix check for MSVC compiler