Update ax_pthread.m4

Upgraded to serial 21.

- Add support for Clang
- Further details can be found at <http://savannah.gnu.org/patch/?8186>.