fix osx
fix OS X memaligning