Moved OpenSSL and LibreSSL checks to an external file