Fix MATLAB version parser.