net: fix windows build

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7429049