Remove a compilation warning on windows. Only define NOMINMAX if it is not already defined. Thanks to Pierre Moulon for this fix. Change-Id: Ia5dc0f5ff2afe10e4c7e97a57f54297d82052b21