 Fix: Bazel builds generator in version 1.45 (#10484)
 Fix: Bazel builds generator in version 1.45 (#10484)

* Bazel requires library paths relative to the package folder

Issue 1: Before version 1.45, the name of the static_library didnt contain the full path of the library, it was relative to the package folder.

Issue 2: package without libs have an empty lib array so the creation of the context was failing

* Some package paths are not absolute

Some specific packages seem to have a path relative to the package folder itself.

* Use the path of the library when avaialble

* Fix generation of bazel files for shared libraries

* Some package may not have an options dictionary
conan-io/conan,conan-io/conan,conan-io/conan