Updated CMake file to exlude std flag from MSVC