Make native operations compatible with tail call optimization