Improve version checking config.