Fixed error in systems with case sensitive filenames.