Fixed version tuple conversion on Windows

MATLAB_VERSION was not converted to (major, minor) tuple when Matlab is detected from registry on Windows.