Fix gevent PyWSGI incompatibility.