Fix issue reading version numbers