doc: Fix library initialization examples