Correct error when creating lm descriptor.
Correct variable checking.
Add --enable-casmacat-he option.