thrift 0.9

compilation with thrift 0.9 support