Fixed issues with case-sensitive file systems