Add -lpthread for smooth build on CentOS 6.x with devtools-1.1 repo