fix android/ios compilation