TS-2130: pthread_setname_np() detection fails on various platforms