added ios compilation flags