Fix CMakeLists

Add C11 flag and include required OpenGL package.