Fix Makefile to compile according to dependency
Remove CONFIG definition

because it is already defined at run.rb
Fix grapher sample