fix compiled with thrift 0.9.0 and libboost 1.54