Add support to 32 bit systems on 64bit serialization