work on osx emacs installed by homebrew