fix windows install using programmatic npm instead of spawn