Add supper for Extension and  Framework targets

I wonder if we shouldn’t just load all the frameworks that are found in the shared frameworks dir, although that’s not really important for this feature at hand.