configure: fix the configure script for verbs and sockets

To make "auto" and "dl" options work again.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>