Fix win OS checks.