give version number as string to avoid AttributeError

AttributeError: 'float' object has no attribute 'startswith'
Merge pull request #1 from waltherg/patch-1

give version number as string to avoid AttributeError