Fix compilation on Windows

This should not affect non-Win32 platforms in any way.
As for Win32 (both MinGW and MSVC), this should hopefully allow for
unpatched compilation. Correct functioning is not yet guaranteed though.


git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14382 f4695dd4-2c0a-0410-b89c-da849a56a58e