I have installed Matlab r2009a on my Linux Debian and the old DLLs work with it. I ran build_matlab.m and I don't have the link problem reported on the forum, but there are warnings on at the compilation of mjdgges.c and the DLL doesn't work. I will investigate the issue and let you know.
Best
Michel