Workaround for test failures on Windows.