go: fix for Linuxbrew
go: fix for Linuxbrew

Closes Linuxbrew/linuxbrew#570.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

rwhogg/homebrew-core,forevergenin/homebrew-core,Linuxbrew/homebrew-core,maxim-belkin/homebrew-core,LinuxbrewTestBot/homebrew-core,forevergenin/homebrew-core,Linuxbrew/homebrew-core,maxim-belkin/homebrew-core,LinuxbrewTestBot/homebrew-core,rwhogg/homebrew-core