Add mac platform.