Added warning flags to CXXFLAGS.