Fix a bug in the Makefile which caused dependency download to fail