Compile thriftserver