Tweak to make things build on mac