Fix dependencies in makefile