The Darwin linking problem mentioned in the comment doesn't exist in any of the still supported macOS versions, so it doesn't make sense to continue working around it.
The Darwin linking problem mentioned in the comment doesn't exist in any of the still supported macOS versions, so it doesn't make sense to continue working around it.