Support install on windows

Fix install on windows - shell script replaced with node script.