Adding thrift compilation.