compile lexical variable access and closure creation to the new ops