linear chain crf model compiles with macros