Update Makefile to put environment variables instead of relative paths into dependencies (.d) files