Update settings for No-X env

In consoles, emacs has no tool-bar-mode and scroll-bar-mode, thus a predicate must be added
to ensure config works in both X11 and no-X setups.