better search for matlab paths on windows