Add case-insensitive compare for package name.

This makes it so single-file packages will be compared with the recipe
name in a case-insensitive way.

Closes #1106