check rocksdb library when '--with-librocksdb' option is enabled

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
I think we still want the AC_DEFINE line though?