Implement load/unload with dlopen().