Fix compilation with HTTP_SUPPORT undefined