Use pthread_atfork() iff available.