Exporting C struct to Lua