hide the toolbar if emacs runs in gui mode