Fix execution of CLI on Windows