TS-1880: add pthread_setname_np support