Revert "Move compiler pass to the Extension (fix bug when twig is disabled)"

This reverts commit cfeba31310612476bdb41d96a9ac534bb641278f.
Fixed regression
Merge pull request #37 from lyrixx/feat-36

Fixed #36