Fix build with MONGOOSE_NO_CGI