Use curl instead of wget which is not installed on Mac by default