Want to include header for sleep #3532

Do not build the metrics reporter unless we have libcurl