Prepare for cmake macros