fixup build for osx