Build failure if CONFIG_MONGOOSE is not set

Enabling the Webserver feature, but without enabling
the internal webserver, the build fails
(libpthread is not linked).

Signed-off-by: Stefano Babic <sbabic@denx.de>