Define NOMINMAX before win includes.

Prevents some pollution when not including other files.