fix cpp version error