I know it's a pain, but you need to handle all references case insensitive, even on case sensitive file systems.
It's also a good idea to accept both '\' and '/' directory separation characters.
It's also a good idea to accept both '\' and '/' directory separation characters.