remove need of -gnu99

This patches remove the need of "override CFLAGS" in Makefile.
Only var declaration inside the for was requiring the gnu99 flag.