Fixed build issue on Visual Studio