Added CppLibVariant and related helper functions
Added re2c support.