Fix Makefile dependencies