Resolve the compile error for lua plugin-x project on the iOS and android platform and add the facebook test cases