Used curl instead of wget. Now it can be installed on MacOS