Also fixed recently added libgdi32 linkage which is only required when OpenSSL libs are linked statically.