All *.c use -std=c99

Add all include files.
Change some Makefiles.