Remove executable symbol export

Luajit FFI needed it back when it poked through the main binary
Fix compilation under mingw
Refactor some stuff into tiffGL