make cDefine error at compile time on missing defines; fixes #2672