Fix for building on mingw and some win versions.

This makes it build on mingw, but it's not clear what the runtime effects are. I figure you know how the value in question is used better than me.