Move to c++ compiler

Will have to use c++ to use thrift