Fix --ipa problems