Fix mac compile of editor