sg3_utils: Fix build

Add some patches to fix build with ostbuild.