Set compiler flags for detection of warnings.