core: Refactored z_lib_include to use the dispatcher when creating lib urls.