Update thrift to 0.9.0, fixes