Fix editor compilation.