make all blob accesses use memcpy instead of unaligned accesses
fix linking
fix alignment of distribution data, and remove pointless pack in entityid