Added some MSVC required functions in Windows.cpp. Moved MSVC specific getopt code inside its own folder.