cleanup unused nix code on windows