Make compile with QT_NO_OPENSSL

Fixes the mingw build