allow casting Typedef to another Typedef