Basic fixes for Windows Build

This seems not to be the define we should use. Our Windows engineers also want to use [MinGW](http://www.mingw.org/) along MSVC such that they don't have to take long round-trip times via the CI to verify that the code also builds successfully with GCC. Therefore, my suggestions is to use `#ifdef _MSC_VER`.