Fix emacs config for X11-less installs.