Added DEBUG flag to CMakeLists.txt