Some dependencies in the makefile fixed