Minor fix to ARRAY-SUB in Lua
Minor fix to STRING-SUB in Lua
Derive the default output suffix from the target