better handling of template types from ts for GCCXML