hot fix：fix cpp template on mac version