Automatically find MATLAB path on OS X