Fix crash due to API change

WI_REVISION has become a string due to Git, rather than an int, therefore this crashes as-is.
Merge pull request #3 from balr0g/patch-1

Fix crash due to API change