This is looking good and builds without any fuss. I wonder if a few
points could be improved:
* support for use of external Lua library. Do you use a stock Lua
library compile? This will be significant when packaging for Debian,
etc. Also since IUP also contains the Lua source, and you want to make
IUP a module, at least one of you will have to concede...
* rewriting wrapper names (for example, SDL.LoadBMP instead of
SDL.SDL_LoadBMP)