Fix for pthread for OS X
Fix for pthread for OS X

j-o/cmake-init,j-o/cmake-init,j-o/cmake-init,j-o/cmake-init,hpicgs/cmake-init,hpicgs/cmake-init,hpicgs/cmake-init,hpicgs/cmake-init,cginternals/cmake-init,cginternals/cmake-init