Build: Fix Autoconf warnings about escaped backquotes.

Thanks to Daniel Richard G. for pointing out that it's
good to sometimes run autoreconf -fi with -Wall.
Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
Build: Update m4/ax_pthread.m4 from Autoconf Archive.