Made CMAKE_VS_INTERMEDIATE_DIRECTORY global variable be used as-is without the need for the VS_INTERMEDIATE_DIRECTORY_<CONFIG> attribute on each target.