cli: handle `uv_default_loop()` failure

* Compile with `-g` everywhere
v0.16.4

Signed-off-by: Fedor Indutny <fedor@indutny.com>