Fix to build under case sensitive file system properly.
Fix #469