fix compilation on go1.0