Rewrite xcrun wrapper in shell