Fix go 1.0 build.