Updated to build properly for iOS, and added logger.
Updated openssl-xcode version.
Updated OSX build to properly copy headers.