Forward port the 'client_is_windows' stuff.