Fix for caseinsensitivity MacOS