Modify the setup script to work on Mac OS too. This fixes #3.

 * Use curl instead of wget if that exists
 * Work around for sed