Fixes case-sensitivity issues causing CMake to fail on different platforms, this should right it.