(Apple) Split platform specific code out of main.m
(iOS) Bring back per-core configurations