make bower a peer dependency and fix post intall script