Fix compile on Visual Studio