fixed building issues for iOS projects