Remove undefined macros