Bug fix in CompositionProxyTypeBuilder

Fixed a bug where the CompositionProxyTypeBuilder crashed when trying to build a proxy for a class that had only protected constructor.