Update TStack.h

Not compatible with gcc.
Merge pull request #5 from progtologist/patch-4

Updated TStack.h for compatibility with gcc and other compilers..