This reverts commit 8edd1a30.
It seems to build properly. Modern should support arm64 properly.
We also build ASM for iOS/tvOS/xrOS since HAVE_BSD is no longer set for these (4bfdaf55).