lua: made FindFiles in filesystem.lua work (by adding more missing C type definitions)