I think `MATLAB_LIBRARIES` has full paths, so you don't need `MATLAB_LIBRARY_DIRS`.