Such defects are the result of mutations in the genes encoding these enzymes. As the organism can still produce small amounts of the chemical, the mutation is not lethal.
Flaws of this nature arise from genetic alterations affecting the enzymes' production. Since the organism can still manufacture small quantities of the substance, the mutation does not prove lethal.