[Compaction] Fix some lint errors.