changes for running on ppc64 with gccgo

I have a couple of changes for running the go bosh agent on Power8 Ubuntu LE. Please review.