[darwin] more bin build script improvements