Fix missing lift in VM and native compiler (second part of #2729).