Be more discerning about what to ignore: Added leading slashes to
entries which should be ignored only at the root. Added trailing slashes
to entries which are directories. Added more autotools entries.