Support older golang versions