Use uWSGI instead of Apache mod_perl for running CGIs