correctly report "Mac" system name on OSX in macros (close #2612)