Fix editor build