[fix] fix compilation with --disable-webserver
Merge pull request #2744 from herrnst/fix-disable-webserver

[fix] fix compilation with --disable-webserver