Build winshutdownmonitor.cpp on Windows only.
Merge pull request #5505

469d564 Build winshutdownmonitor.cpp on Windows only. (Pavel Janík)