Added the NOMINMAX build flag for MSVC to stop its min/max macros interfering with the STL.
Updated the build to generate separate libs for each build configuration under VS.