Perl extension to check that a library is available
