Fix compilation with go 1.0