Fix compile error on Visual Studio