don't use AC_LIB_HAVE_LINKFLAGS

it seems to be from gnulib or such, not always available
fixes #7
newer openssl, install fewer things and use curl