Don't barf when opening emacs in OS X terminal