fix errors in examples, integrate to fluidfire makefile