In LDADD, put OPENSSL_LIBS first