Fix version check, take 2.