Use curl instead of wget, which isn't included by default on MacOSX