Fix fallback configuration flags
auto merge of #10206 : brson/rust/configure, r=brson