couple of changes for Centos & Thrift2