fix compile error on linux
Merge pull request #7120 from dabingnn/v2hotfix

V2hotfix