Make sure bower finishes before building