fix Window define