Fix error task dependency in makefile