This fixes the compile issues with mingw32

Yes those builds will NOT include openssl. I personally also found
it to be a pain to link openssl on/for windows. If someone else can
do this, feel free to do so.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>