added support for platforms with fatal misaligned memory accesses