Fix compile issue with CupCake.Client