Fix OpenSSL build for the Windows SDK

Add missing file from OpenSSL 1.0.1c and fix flags since Windows
does not have dlfcn.h.

(cherry-picked from b4f245f7519f2f8b8dd7fa0b3897220eda17a7ef)

Change-Id: I937c1effd937dfe7922d6472c7adec063103c924
4 files changed