adding support for windows compilation with Visual Studio