Fix Visual Studio build