verilator: add libs option and update CAPI doc

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>