Use std::max_align_t rather than __attribute__((__aligned__)) to get max alignment