Fix version string comparison, capitalisation and typos.