[Bug 58209] add an environmental variable to control the Windows Version