Attempt to fix build on Mac OS X