Fix build error with older versions of GCC