Moved PTHREAD_init_done out of the #ifdef.