Add local lib feature for perl.