Build: Fix manifest dependencies

Clone bower dependencies instead of reusing and modifying the same object
multiple times.