Fix Visual Studio compiling error