Fix res folder detection in linux (case-sensitivity)
Update CMakeLists.txt so that it shows less errors on configuring