Adding support for Mac. (wuuuhhhh)