Fixed twigjs and compiler undefined templates issue