Made TERM configuration specific for MacOS.