install: Fix possible memory overflows
clib: Fix possible overflow in subcommand handling
clib: Fix bad `free`
Merge pull request #70 from clibs/fix/install-overflows

install: Fix possible memory overflows