Prevent warnings on iOS

Undefine macros before define to prevent warning on iOS