add segfault fix to use local copy of leveldb::Options