Remove redundant OS version checks.