Fix compiling glitches in rhel5.7.
In rhel5, use CFLAGS=-std=gnu99 configure to avoid error about anonymous unions.