fix linux cpp and lua template
fix cocos2d root
Merge pull request #9311 from andyque/fixLinuxTemplate

fix linux cpp and lua template