Avoid using override in GCC < 4.7.

Travis has some non-Symbian builds using 4.6.3 and they are failing.