fix build error with leveldb 1.5