Fix a bug in parsing the LibraryFile