Fix editor compilation bug.