Update pthread and boost m4
Merge bzr://gaz.haus/ Build: jenkins-Gearmand-948