Don't mix styles and language dialect in a single file.
Made T2 export optional.

It requires a C++11 compiler, and LLVM 2.9 does not work with a C++11
compiler.