Improved cpan-lib detection.