fix tool-bar-mode in non-XEmacs. fix rgrep issue. specify root dir for magit package correctly