[darwin] bin build script improvements