CMake debug flag support

try it with
$cmake -D IMPROVEESATION_DEBUG=1 ..