Fix Makefile header dependencies rules.