Fix compile error.
Merge pull request #2947 from pyrasis/tizen_2.1

[Tizen] Fix compile error
Merge pull request #2949 from dumganhar/develop

Bug fixes for the tool to generate luabindings.
issue #2129: Removing CC prefix for template.