Refactor: Move debug flags to CMakeLists.txt
Refactor: Simplify and consolidate configuration logic in prototyp.h