Updating libraries to work with iOS.
Fixing build configuration for Android.