Made it compatible with gevent 1.0dev version.