Basic fixes for Windows Build

Granted. This is all throughout the code,  no reason not to merge this fix.
On 4 Nov, 2014 6:35 pm, "toxeus" <notifications@github.com> wrote:

> In src/core/crypto/OTAsymmetricKeyOpenSSLPrivdp.cpp:
>
> > @@ -147,7 +147,9 @@
> >  #include <opentxs/core/util/stacktrace.h>
> >
> >  // BIO_get_mem_data() macro from OpenSSL uses old style cast
> > +#ifndef _WIN32
>
> This seems not to be the define we should use. Our Windows engineers also
> want to use MinGW <http://www.mingw.org/> along MSVC such that they don't
> have to take long round-trip times via the CI to verify that the code also
> builds successfully with GCC. Therefore, my suggestions is to use #ifdef
> _MSC_VER.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Open-Transactions/opentxs/pull/365/files#r19795093>.
>