Recursive library search.