Fix compiling with autotools and openssl 1.1.0