Better fix for conflict between Name component and Name() function. Add NOMINMAX definition to CoreTypes.h