Fix cli on Windows