Fixed a case issue on OSX with Linux