Fixed some issues related to the run of bower install