make more tests work on windows, by setting the PATH in a magic way