Fix S8 compat.
Better compile module & pipeline structure.