use local_variable_set if defined
Merge pull request #1 from takkanm/support_binding_local_variable_set

use local_variable_set if defined