Fix require bug for case-sensitive OS.