Fixed how MSC_VER is checked to not error on gcc and clang