Fix compile with 4.8
Enable O3

-Add support for CPU-based alignment handling