gcc 4.1.2 compatibility fixes: struct/obj name clash; destructor calls.