Fix twisted version check.