fix alignment on osx/ppc