Add new thread macro
Run autogen after installing new pthread macro.