cmake: Fix a build error on iOS

Avoid the awk-based configuration when cross-compiling from macOS
to iOS.
1 file changed