Make the version reading python2.6 compatible