configure: if using internal libfetch, also link to libssl.
lib/compat/vasprintf.c: make this build and fix sign-compare warnings.