Fix header depency rules in Makefile.