Fix Patterns for .gitattributes to correctly ignore libraries