More efficient library lookup