Fix so that library_content module can be used on production

Before, it was not usable if ALLOW_ALL_ADVANCED_COMPONENTS was False