Fix compile issue with older go versions