wip grouping generated libs by capabilities