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

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
Merge pull request #2784 from xinxinsh/master

check rocksdb library when '--with-librocksdb' option is enabled

Reviewed-by: Sage Weil <sage@redhat.com>