Fix version check.