Only run configure in the Rust submodule when we actually use it.