Re-enable rendermax in CMakeLists.txt