[cvs-nhc98] Build a separate hat distribution with the 'hatDist' targe