Make tests pass on windows