Fixed an issue with duplicate function in static lib for iOS