Fix all warnings for native