undefines a few temporary defines which were not undefined after their usage.