Improved library search (because of OS X).