Add thrift compilation step