Add NOMINMAX definition to global compile flags.