Add --with-curl to libprocess since <stout/net.hpp> needs it.

Review: https://reviews.apache.org/r/26352