Adds some basic emacs support for osx