32-bit build fix from Steven Michaud