Fixing parsing of the library string