add "-std=gnu89" to CFLAGS when using clang compiler