Fix cross compilation code for other platforms
Fix cross compilation code for other platforms

When trying to vendor into containers/image we found issues
with cross platform compilation.

Signed-off-by: Daniel J Walsh <7800de746fd39599bc46177380ea6aede7e31e16@redhat.com>

rhatdan/storage,rhatdan/storage,containers/storage,containers/storage,rhatdan/storage,containers/storage