Add work around for Go issue 7690.