adding Thrift gen for cpp