makefile: download dependencies
Cache the results of the NIF call