Attempt to simplify the finding-a-library API, and just restrict it to base names and a list of paths.