Fixed compile bugs under Visual Studio