Completely rework the CMake configuration, the file structure and
everything else. Reliably builds for Desktop and phone now.