Cleaner version checking