Fixes Makefile dependencies