Fix compatibility issue with old version (1.2.2) of golang on Travis

[#79838642]