Fix broken build setting for cocoapods compatibility.