Restore Go 1.0 compatibility to make drone.io happy