fix Android build of luasocket luasec and thrift