[cvs-nhc98] patch applied (hat): Changes to make it build hat-gui successfully