Add "-std=c99" to gcc. It is for portability.