Fix CPP template on Window
Merge pull request #8927 from Dhilan007/v3-template

Fix CPP template on Window