Only alias ClassLoader and TemplateLoader if not defined yet (to enable others to apply the same hack).