Fix unit test failing on windows.