Fix emacs installation