Merge pull request #2515 from dsandbrink/patch-1

THRIFT-5510: On Windows NOMINMAX and WIN32_LEAN_AND_MEAN are unset