Remove any characters after the version number

This was needed, as it was "1.5.6-r2"
Merge pull request #7 from Lauszus/dev

Remove any characters after the version number