Added resiliance to web fetches.
Genericized Makefile.