Add elements from <dependencies> to <build>.