Corrects some situations where build fails, but kept going.
In order to get the Linux/Mac and Windows builds to result in a binary identical result, I have changed the case of some filenames. Windows and Linux handle directory sorting differently for upper/lower case in filenames.