Unified version check