overridden equals for Symbol, compile for 1.7