iCMAKE_C_FLAGS_DEBUG has been added as master branch does
'msg' was not declared in this scope