To enabling broken cgo, edit src/cmd/api/goapi.go and src/pkg/go/build/build.go
Enable cgo