Now compiles on Mac

Now compiles on Mac