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

Fixes yeoman/yo#18.
Merge pull request #49 from kevva/win-install

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