Fixed search for MATLAB_ROOT in FindMatlab.cmake

Fixed the way FindMatlab.cmake checks if there is an environmental
variable called MATLAB_ROOT.