Added static library target and set GBCli executable to link with libgbcli
update libgbcli
remove library targets
added some c++ specific modification to GBOptionsHelper