fix fatal (silently) type in configure (affecting --cxxflags and root-config)