bug fix in Makefile and including supervisor dependency