Update generate-stackbrew-library.sh to handle multiple versions (and prep for adding -onbuild variations)