fix so both *nix and windows work