fix recognition of basic types in templates in script which generates the Serialization.cc files
Merge pull request #5524 from ktf/fix-clang-3.5-issue

Support for clang 3.5