Compile the emacs mode (if possible)