Unify Windows version checks.