Update to build on mac