Upgrade to leveldb 0.5