Changed version checks to more elegant form using versions.el