Fix small issues in script to set up cross-compilation.