Fix case sensitivity related issues.