Resolve Visual Studio build error