cmake: fixes for ec_lrc

Signed-off-by: Casey Bodley <casey@cohortfs.com>