osx: build fix