Fixed compilation error on Windows in WindowsWindow.cpp