cmake: use "-ggdb3 -O0" for debug build