Fixing some build warnings for 64 bit builds.