Change to use LinkDynamicObject instead of dlopen.