Adapt _WIN32_WINNT version to 0x0501 in headers.h
...to have the build behave on newer MinGW.