added d3 custom build script to Makefile, closes #111