Fix compilation problem on GCC 2.9x