Made install compatible with Mac.