Windows OPENSSL_Applink error patch

Solves the OPENSSL_Applink error when using Windows DLLs. Provides a D translation for the applink.c which is normally used to avoid this error in C. The original applink.c source code from OpenSSL has been included for reference.