Fix build check for gob2, it now exits when not found