std: more windows fixes to os.rs