Cluster masses from CMB and galaxy weak lensing