Enhanced version checking