configure: add libdl detection to ladspa, vf_dlopen