Fix cgi/web building