Fix network isolator build

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