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

Signed-off-by: xinxin shu <xinxin.shu@intel.com>