Simplify API removing requirement to explicitly set 'CMAKE_CMD' parameter

By checking that
(1) CMAKE_CONFIGURATION_TYPES is defined
(2) ${CMAKE_CFG_INTDIR} is found in a given variable

.. the corresponding variable will now automatically be appended to
CMAKE_ARGS instead of CMAKE_CACHE_ARGS to ensure the intermediate dir
is evaluated at build time.