fix crypto unit test build for msvc
force /MDx switch (DLL linkage) for gtest

..to be compatible with all the other libs