Hotfix for broken root environment variables; Cleaner CMakeLists.txt files; Docs updated