Reinstate find_library and use dlopen_e