Steal WP-CLI's `is_windows()` check for `Shell`