Changed is_windows() position