[darwin] more bin script fixes