Make it work on Windows

Moved the npm run-scripts to make.js and use shelljs to make it Windows-compatible.