Check for dlfcn.h in feature test