Prepare terms in compile_defs for more configuration