Add debug variant to CMakeLists.