Fix compile warning/error for 32bit builds, and OSC builds.