fix il_gen main.cpp to work with earlier