Big refactoring of SubstituteValuesConfigurationDlg.
Added CMake flags for MSVC multiprocesor compilation.