cmake fixes (leveldb, editline)