Fixed dependencies in makefile