Remove standard architectures to fix problem with library build.
Changes to make the integration easier and more in line with iOS patterns.
Fix some minor warnings.