Fix compilation error with gcc 4.9.