Don't assume linux_amd64

We should be checking GOOS and GOARCH, not assuming that we know what
platform/os we care about.