Case insensitive string comparison for used hostnames

Untested