Fix #undef of constant