CMake: fix building integration tests
utility: debug: address a GCC warning
remove obsolete include directives