Support compilation of lambda functions