Add a configure test for pthread_setname_np