build: clean cmake file
build: add debug and release specific flags