Added Mac MATLAB build