Fix test on windows