fixed cmake debug issue