Fix thrift build, again