runtime: fix windows build

Fixes issue 4743.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7284044