Solve the compile error for lua plugins and add lua Facebook test case