[libvirt] [PATCH] Split out dlopen detection