[matlab] forgot to get MATLAB_LD var value from mex in configure
[matlab] testing shim support for matlab to enable compilation on travis-ci