Update genbindings.sh and Cargo.toml for out-of-tree builds