fix Makefile and example