Fix usage of macros with expandable functions.