Fix another dependency bug in Makefile