fixing Visual Studio warnings
Visual Studio build fix