fix execution problem on non-windows system