Changed TreatWarningsAsErrors to false in release mode too.