Feature/new renderer

Multiple cmake errors occur after commenting out this line. The errors look like this:
`CMake Error at /usr/share/cmake-2.8/Modules/CheckLibraryExists.cmake:41 (try_compile): Unknown extension ".c" for file`