The functions configure_link_flags_cxx_library_path & configure_link_flags_abi_library_path are not handling the z/OS specific case correctly when a [cxx|abi]_runtime_root is specified to link. The options are not recognized on z/OS.
Hence, this patch adds a z/OS specific case (similar to the other platform-specific cases) but adds the library path using the LIBPATH env variable. In addition, (add_path) is modified to account for adding the LIBPATH env variable as well.