Cross compile support for go plugin

On the plugin side it’s actually quite simple. Setting a handful of environment variables and because of a quirk in Go not using go install. I’ll come up with a little introductory post on how to enable that in other plugins.