Fix for mempool unaligned addressess on 32 bit machines, not tested