Improved setup scripts to auto-install curl and m4