Fix EDITOR on OS X