Use the right library name and error if we do not get the library