configury: check pthreads work as is on all platforms including solaris
Thanks to Jeff for the review