Fix the vendoring script on MacOS X Upstream-commit: 9ad946eded6fb05ddc331bd565473ea68b83bdd9 Component: engine