Fix TERM for gnome-terminal.