Windows/Visual studio build issues

There are several build issues on Windows/Visual studio

  • Conflict with MIN/MAX define (AWS provider)
  • Missed linking AWSSDK
  • Wrong path to compiled library in the Cmake install when uses single configuration

Build errors in the Unit test/Utils projects:

  • Linking error when enable unit tests (BUILD_UTEST=true): "gtestd.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in main.cc.obj"
  • Inconsistent DLL linkage (appears in tests/utils which linking static library "sdapi_static")
Edited by Pavel Kisliak