Fixing declaration and definition macros for broadcast and reduce