fix building error with go-v1.1