Attempt to fix build for OSX