Set window title only for xterm (compatible) terminals