Added thrift C code generation.