Verify presence of lib dir before including it

When packaged, the lib dir might live in a completely different place,
yet be included in the $LIBPATH. This trick is only needed when
running out of any paths.