autotools: check for ssl.h if pkg-config failed

This enables building against the base FreeBSD openssl and does not require the openssl port, which breaks things, such as base ssh on FreeBSD