Add forgotten cmake macros.