Fix running `bower install` and `npm install` on Windows

See generator-webapp#49.