Fixing "invalid share" issue on 32-bit builds.