further merging win and *nix