Use conditional check for LibreSSL

To make Python devs happy...