Fixed lint errors for native code