Use posix_memalign instead of mm_malloc on non-Windows systems.