Only add the library to the list if the file exists.