Replace "amd64" build tags with "cgo" as appropriate, and remove where unnecessary

Signed-off-by: Andrew Page <admwiggin@gmail.com>