Add __cxa_thread_atexit() detection.