Allow dist-matlab to run on Windows
Merge pull request #1150 from melissalinkert/rebased/dev_5_0/win-dist-matlab

Allow dist-matlab to run on Windows (rebased onto dev_5_0)