Fix the build d3 issue

Hey @kxepal  can you test this before I merge it?