Debian 8 stable ships with gcc 4.9.2 and cmake 3.0.2. Previously the depends package used CMAKE_CXX_STANDARD to tell cmake to use C++11, but the option requires cmakes 3.1+. To resolve the issue we now update relevant CMakeLists.txt and set CMAKE_CXX_FLAGS.