(APPLE) Build fixes for new frontend.c