Fixing dependencies in makefile