fix esil_if

you can now use internals as conditions for esil_if