osx fixups.