Fix all the tests to pass on Windows.