throw a more useful error when a library is not found