Fixes for Mavericks + Homebrew version of Emacs.