windows/nix compatibility