Also define NOMINMAX for MSVC