update makefile
fix bug in printf
fix warning in kmmatch.c
update kmtest.h