Fix issue #149

Hi,

This is to fix #149, small fix in ax_pthread.m4 is required.

See for details: http://savannah.gnu.org/patch/?8081