build: fix for 32-bit windows builds on 64-bit windows system

Thanks to jon.forums@ for the fix.

Fixes issue 5051.

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