Fix test on Windows