Fixed a bug of compile_define_variable_local.