Fix task_util dependency and add it to all target.

Reviewed at https://reviews.apache.org/r/28048/