added linux leveldb support