Fix for Apache (mod_wsgi) deployment.