For the access to d3deffect in A7.8, copy the current MATERIAL struct from A8, and add the following line immediately before the d3deffect element:

long dummy[2];

I haven't tested it, but it should do the trick. Make sure to remove the line should you switch to A8 at some point.