Better handle add_library() for a not-installed contributed library.