Better to use memalign() for the platforms where available to lower additional risks of crashing