Try creating a file ~/.cpan/CPAN/MyConfig.pm that overrides
likely-looking values in CPAN::Config. (eg where you build
stuff, where you install it, etc). That should let you use
CPAN to install anything you want into a directory tree of
your choice. You can then use lib as you do now.