Make client compile on a Mac