ios host builds but fails on third party libs