Added missing <dlfcn.h> include.