Changed alignment of aligned buffer for different platforms