Fix #672. Build hyperleveldb and rocksdb with snappy support