Fix run task under Windows