Compiler: Loader can be overriden

Note: There's also an issue of a forgotten ContainerFactory->createLoader() which is not used anywhere since 5b7f9b9098d7c564905b1a602d1d68eaafa3eff9, but removing it would be BC break.