default to debug for cmake

Signed-off-by: Jack <jack.wgm@gmail.com>