Fix path capitalization, fixes #850