actually you do not need this anymore, redcore plugin takes care of loading the library for you. I would rather check if plugin is enabled