Made version.py compatible with Python 2.6 (and maybe older)