[darwin] more bin build script fixes