Missing #undef in tie