Fixed the problem on installing wget using brew