[WinEvents] Move win32 only code into win32 file.
[WIN32] fixed: jenkins doesn't like the rxvt shell so use sh instead. Since sh still crashes often when compiling attended we keep using rxvt there.
Merge pull request #2468 from ulion/winevent_cleanup

[WinEvents] Move win32 only code into win32 file.
fixed: addoninstaller unguarded null pointer after b0825b1a212849e52fca27409ea87e81591f7cf4
Merge pull request #2489 from Voyager1/fix_addoninstaller_np

fixed: addoninstaller unguarded null pointer after #2475
Only add to preDeps when it's not in there.
depends: fix sed in libgcrypt which wants to change the optimisation but also might change other stuff we don't want (e.x. XBMC-OSX to XBMC-O1SX :p)