Fix mixed-case macro names