Cast match to int to match version number

Should finally fix those issues with PowerCLI versions