Fixed compilation errors in Win32
Added a missing #include to fix a MSVC warning