add really crappy pthread_rwclock implementation for openssl 1.1
#include <pthread.h> int pthread_rwlock_destroy(pthread_rwlock_t *rwlock) { return 0; }