CMake fixes.
Made choice of dynamically rendered elements not dependent on hardware acceleration for now.