FindMatlab: pre 2018 fixes
This fixes the compilation issues on MCR 2017 and R2018b. The MR contains additional cleanups and small fixes. All commits are separated.
This fixes the compilation issues on MCR 2017 and R2018b. The MR contains additional cleanups and small fixes. All commits are separated.