Fixed apache thrift head build