Fix test on windows.