Fix the build for the d3 update