Cast match to int to match version number

Should finally fix those issues with PowerCLI versions
Merge pull request #113 from Sneddo/master

Cast match to int to match version number Issue #103