More reliable bower install postinstall.

This makes the bower i work on Mac, Win.