rocks support

make configure check conditioned on rocksdb