GCC version < 4.7.0 doesn't have override keyword