Making compile on mac