acx_pthread became ax_pthread in 2009 and the macro has seen lots of updates since then. This change switches to using the latest version.