rocksdb support

make configure check conditioned on rocksdb