[pthreads] Fix pthread_cond_init issue. #261