[WIN32] cosmetics: removed some XP only code.
Merge pull request #3229 from wsoltys/xpcleanup

[WIN32] cosmetics: removed some XP only code.