std: more fixes for os.rs for windows