xcrun used instead of manual patchfinding