[WIN32] fixed compilation with msbuild 2013

Worked when building it with ide but not via msbuild. Possible more fixes to come :)