Change the behavior of enable-pthread.