Fix. pthread_cond_timedwait_timeout on *nix systems