Revert pthread updates.