Ugly #if CONSTANT unset variable cleanup