cmake thrift support