cmake build for Apache Thrift