Fix PTHEADS issue
openssl libs fix