Support running as CGI, with virtualenv