Fix some compile errors in the web server