Exclude callbacks that make OpenSSL threadsafe if we don't have pthread.