fix centos build for libboost_thread