Fix test on MS Windows