std: more windows fixes to os.rs and run.rs