Fix broken demo.
Add shebang and make autogen.lua executable.
Add void* type.