Refactoring to use build-all when building multiples of one component