Fix Clang warning in MGTemplateEngine
Fix macro naming conflict with Foundation