Modify the way XQCoreLibrary is created