Downgraded CMakeLists.txt to CMake 2.8 support

Required for Ubuntu systems