libs.mk: quiet curl output

+ fix error return

Change-Id: I48a9ed70fe05df603a49b3c11f813119906fc4fb
1 file changed