Fix test for GCC 3.1+ but not strict ANSI C