remove debug cmake code