Hack for working with mod_wsgi