run emacs binary based on OS