Modified C and CXX flags for debug and release; set release flags by default.