[ios] Fix compilation options for simulator build (case 650931)

Fixes compilation options for simulator build: ensures that we use simulator SDK and correctly pass CFLAGS setting to the configure script.