register the CollectLibs flag