Fixing problems with tput on some platforms