Fix a build errors

1. Replace python command by python2 in build scripts.
2. Move `bower install` command to `package.json`.