FindMatlab for cross-platform compatibility