Work properly on case sensitive filesystems.