undef for IX before redef, add to CMakeLists
Merge pull request #149 from indivisibleatom/CS4496

undef for IX before redef, add to CMakeLists