modifyed compile_luabinding_functions.php