Rename variables in native code

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>