Fix leveldb building