fix 32-bit build under MSVC 10