cleaner automatic-lib detection, waiting for PR