Define magickcore macros to remove warnings