Move test for pthread_atfork inside SC_ENABLE_THREADS
rebase