fixing osx build