misc: fixed lua 32bit cross-compilation, refs #115