go: fix go 1.3.1 build

Closes #4243