Bump minimum Windows API to Win7.

There are scattered reports that something called "Vista" existed, but
those are just rumors.
Define NOMINMAX.

We just undef it later anyway.