Updated lcg to use prot_set_lcg_var.