attempt (blindly) to make hashing work on 32-bit systems.