Align operation compatible for Linux gcc
missing functions