[thrift] build all the thrift 0.5.0