Fix compilation issue when configured with --with-curl. This fixes bug #2924999.
Fix compilation issue when configured with --with-curl.
This fixes bug #2924999.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb