Fix compilation

See also kawu/crf-chain1/17af4dbb3ac1badd84ce8bb4e5cfbb69d216fcef