patch with @rescrv's workaround for leveldb 197