Fix editor not starting on osx