Fix iphone simulator build.