couple of changes for Centos & Thrift2

tnx Christian :)